import Vue from 'vue'
import App from './App.vue'
import router from './router'

Vue.config.productionTip = false

// 移动端适配
import 'lib-flexible'
// 重置样式
import 'reset-css'

import './assets/css/common.css'

import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);

import axios from './utils/request'
Vue.prototype.$axios = axios

//加载全局配置
import config from './config'
Object.keys(config).forEach(key => {
  Vue.prototype[key] = config[key]
})

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
